
public class TestCglibProxy {

    public static void main(String[] args) {

        CglibTravelPerson cglibTravelPerson = (CglibTravelPerson) new CglibTravelPerson().getInstance(CglibTravelPerson.class);
        cglibTravelPerson.buyTrainticket();
    }
}